🎖️GitЯра🎖️
Node / meshtastic / Meshtastic-Android / files / app / src / main / java / com / geeksville / mesh / navigation / ConnectionsNavigation.kt
Displaying Raw • Download
app/src/main/java/com/geeksville/mesh/navigation/ConnectionsNavigation.kt 78274c792318331b11ab64cd28e58e829875b8c2 (78274c79) Text, 2.85 KB
T8b949e/*
* Copyright (c) 2025 Meshtastic LLC
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
Tff7b72package T7ee787com.geeksville.mesh.navigation
Tff7b72import T7ee787androidx.compose.runtime.remember
Tff7b72import T7ee787androidx.hilt.lifecycle.viewmodel.compose.hiltViewModel
Tff7b72import T7ee787androidx.navigation.NavGraphBuilder
Tff7b72import T7ee787androidx.navigation.NavHostController
Tff7b72import T7ee787androidx.navigation.compose.composable
Tff7b72import T7ee787androidx.navigation.navDeepLink
Tff7b72import T7ee787androidx.navigation.navigation
Tff7b72import T7ee787com.geeksville.mesh.ui.connections.ConnectionsScreen
Tff7b72import T7ee787org.meshtastic.core.navigation.ConnectionsRoutes
Tff7b72import T7ee787org.meshtastic.core.navigation.DEEP_LINK_BASE_URI
Tff7b72import T7ee787org.meshtastic.core.navigation.NodesRoutes
Tff7b72import T7ee787org.meshtastic.core.navigation.SettingsRoutes
Tff7b72import T7ee787org.meshtastic.feature.settings.radio.component.LoRaConfigScreen
T8b949e/** Navigation graph for for the top level ConnectionsScreen - [ConnectionsRoutes.Connections]. */
Tff7b72fun Te6edf3NavGraphBuilderTb4b4b4.Td2a8ffconnectionsGraphTb4b4b4(Te6edf3navControllerTb4b4b4: Te6edf3NavHostControllerTb4b4b4) Tb4b4b4{
Tf0883e@SuppressTb4b4b4(Ta5d6ff"Ta5d6ffktlint:standard:max-line-lengthTa5d6ff"Tb4b4b4)
Te6edf3navigationTff7b72<Te6edf3ConnectionsRoutesTb4b4b4.Te6edf3ConnectionsGraphTff7b72>Tb4b4b4(Te6edf3startDestination Tff7b72= Te6edf3ConnectionsRoutesTb4b4b4.Te6edf3ConnectionsTb4b4b4) Tb4b4b4{
Te6edf3composableTff7b72<Te6edf3ConnectionsRoutesTb4b4b4.Te6edf3ConnectionsTff7b72>Tb4b4b4(
Te6edf3deepLinks Tff7b72= Te6edf3listOfTb4b4b4(
Te6edf3navDeepLinkTff7b72<Te6edf3ConnectionsRoutesTb4b4b4.Te6edf3ConnectionsTff7b72>Tb4b4b4(Te6edf3basePath Tff7b72= Ta5d6ff"Tffd700$Te6edf3DEEP_LINK_BASE_URITa5d6ff/connectionsTa5d6ff"Tb4b4b4)Tb4b4b4,
Tb4b4b4)Tb4b4b4,
Tb4b4b4) Tb4b4b4{ Te6edf3backStackEntry Tff7b72-Tff7b72>
Tff7b72val Te6edf3parentEntry Tff7b72=
Te6edf3rememberTb4b4b4(Te6edf3backStackEntryTb4b4b4) Tb4b4b4{ Te6edf3navControllerTb4b4b4.Te6edf3getBackStackEntryTb4b4b4(Te6edf3ConnectionsRoutesTb4b4b4.Te6edf3ConnectionsGraphTb4b4b4) Tb4b4b4}
Te6edf3ConnectionsScreenTb4b4b4(
Te6edf3radioConfigViewModel Tff7b72= Te6edf3hiltViewModelTb4b4b4(Te6edf3parentEntryTb4b4b4)Tb4b4b4,
Te6edf3onClickNodeChip Tff7b72= Tb4b4b4{
Te6edf3navControllerTb4b4b4.Te6edf3navigateTb4b4b4(Te6edf3NodesRoutesTb4b4b4.Te6edf3NodeDetailGraphTb4b4b4(Tffa657itTb4b4b4)Tb4b4b4) Tb4b4b4{
Te6edf3launchSingleTop Tff7b72= Tff7b72true
Te6edf3restoreState Tff7b72= Tff7b72true
Tb4b4b4}
Tb4b4b4}Tb4b4b4,
Te6edf3onNavigateToNodeDetails Tff7b72= Tb4b4b4{ Te6edf3navControllerTb4b4b4.Te6edf3navigateTb4b4b4(Te6edf3NodesRoutesTb4b4b4.Te6edf3NodeDetailGraphTb4b4b4(Tffa657itTb4b4b4)Tb4b4b4) Tb4b4b4}Tb4b4b4,
Te6edf3onConfigNavigate Tff7b72= Tb4b4b4{ Te6edf3route Tff7b72-Tff7b72> Te6edf3navControllerTb4b4b4.Te6edf3navigateTb4b4b4(Te6edf3routeTb4b4b4) Tb4b4b4}Tb4b4b4,
Tb4b4b4)
Tb4b4b4}
Te6edf3navControllerTb4b4b4.Te6edf3configComposableTff7b72<Te6edf3SettingsRoutesTb4b4b4.Te6edf3LoRaTb4b4b4, Te6edf3ConnectionsRoutesTb4b4b4.Te6edf3ConnectionsGraphTff7b72> Tb4b4b4{
Te6edf3LoRaConfigScreenTb4b4b4(Te6edf3viewModel Tff7b72= Tffa657itTb4b4b4, Te6edf3onBack Tff7b72= Te6edf3navControllerTff7b72::Te6edf3popBackStackTb4b4b4)
Tb4b4b4}
Tb4b4b4}
Tb4b4b4}
Served by rngit 1.5.0 - Generated in 0.04s